package com.myblog.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.extension.activerecord.Model;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;
    import java.util.Date;

    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author lhj
* @since 2022-05-25
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class ArticleContent extends Model<ArticleContent> {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            /**
            * 对应文章id
            */
        @TableField("article_id")
    private Integer articleId;

        @TableField("content")
    private String content;

            /**
            * 创建时间
            */
        @TableField("create_time")
    private Date createTime;

            /**
            * 更新时间
            */
        @TableField("operate_time")
    private Date operateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
